<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<!DOCTYPE html>
<html class="no-js">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">    
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="keywords" content="
    	<?php if($this->is('index')): ?>
    		<?php $this->options->keywords(); ?>
    	<? else: ?>
    		<?php $this->title().",".$this->options->title().",".$this->options->keywords() ?>
    	<?php endif; ?>
    " />
    <meta name="description" content="
    	<?php if($this->is('index')): ?>
    		<?php $this->options->description(); ?>
    	<? else: ?>
    		<?php $this->excerpt(200,'……'); ?>
    	<?php endif; ?>	
    " />
    <title><?php $this->archiveTitle(array(
            'category'  =>  _t('分类 %s 下的文章'),
            'search'    =>  _t('包含关键字 %s 的文章'),
            'tag'       =>  _t('标签 %s 下的文章'),
            'author'    =>  _t('%s 发布的文章')
        ), '', ' - '); ?><?php $this->options->title(); ?> - <?php $this->options->description() ?></title>

    <!-- Set render engine for 360 browser -->
    <meta name="renderer" content="webkit">

    <!-- No Baidu Siteapp-->
    <meta http-equiv="Cache-Control" content="no-siteapp"/>

    <link rel="icon" type="image/png" href="<?php $this->options->themeUrl(); ?>assets/i/favicon.png">

    <!-- Add to homescreen for Chrome on Android -->
    <meta name="mobile-web-app-capable" content="yes">
    <link rel="icon" sizes="192x192" href="<?php $this->options->themeUrl(); ?>assets/i/app-icon72x72@2x.png">

    <!-- Add to homescreen for Safari on iOS -->
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-title" content="Amaze UI"/>
    <link rel="apple-touch-icon-precomposed" href="<?php $this->options->themeUrl(); ?>assets/i/app-icon72x72@2x.png">

    <!-- Tile icon for Win8 (144x144 + tile color) -->
    <meta name="msapplication-TileImage" content="assets/i/app-icon72x72@2x.png">
    <meta name="msapplication-TileColor" content="#0e90d2">

    <!-- SEO: If your mobile URL is different from the desktop URL, add a canonical link to the desktop page https://developers.google.com/webmasters/smartphone-sites/feature-phones -->
    
    <link rel="canonical" href="
    	<?php if($this->is('index')): ?>
    		<?php $this->options->siteUrl(); ?>
    	<?php else: ?>
    		<?php $this->permalink() ?>
    	<?php endif; ?>
    ">
    

    <link rel="stylesheet" href="<?php $this->options->themeUrl(); ?>assets/css/amazeui.min.css">
    <link rel="stylesheet" href="<?php $this->options->themeUrl(); ?>assets/css/app.css">
    <link rel="stylesheet" href="<?php $this->options->themeUrl(); ?>assets/css/material-scrolltop.css">
    <link rel="stylesheet" href="<?php $this->options->themeUrl(); ?>assets/css/prism.css">
	<link rel="stylesheet" href="<?php $this->options->themeUrl(); ?>assets/css/loading.css">

    <?php $this->header('generator=&template=&pingback=&xmlrpc=&wlw='); ?>
</head>
<body>
<!--[if lte IE 9]>
<p class="browsehappy">你正在使用<strong>过时</strong>的浏览器，Amaze UI 暂不支持。 请 <a
    href="http://browsehappy.com/" target="_blank">升级浏览器</a>
    以获得更好的体验！</p>
<![endif]-->
<div id="loading" class="loading-active">
	<div id="load">
    <span></span>
    <span></span>
    <span></span>
    <span></span>
	</div>
</div>
<div id="top" class="top"></div>